package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.LogBusinessUserCreateValidate;
import com.mdd.admin.validate.LogBusinessUserUpdateValidate;
import com.mdd.admin.validate.LogBusinessUserSearchValidate;
import com.mdd.admin.vo.LogBusinessUserListedVo;
import com.mdd.admin.vo.LogBusinessUserDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 商户后台日志服务接口类
 * @author LikeAdmin
 */
public interface ILogBusinessUserService {

    /**
     * 商户后台日志列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<LogBusinessUserListedVo>
     */
    PageResult<LogBusinessUserListedVo> list(PageValidate pageValidate, LogBusinessUserSearchValidate searchValidate);

    /**
     * 商户后台日志详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return LogBusinessUserDetailVo
     */
    LogBusinessUserDetailVo detail(Integer id);

    /**
     * 商户后台日志新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(LogBusinessUserCreateValidate createValidate);

    /**
     * 商户后台日志编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(LogBusinessUserUpdateValidate updateValidate);

    /**
     * 商户后台日志删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Integer id);

}
